﻿// Decompiled with JetBrains decompiler
// Type: System.Web.Razor.Tokenizer.VBHelpers
// Assembly: System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: 682513D6-F37E-48AC-9909-F3EE103CFF14
// Assembly location: D:\Project\Idea\无人机外网\uav\客户端工程\排查工具\bin\Release\System.Web.Razor.dll

namespace System.Web.Razor.Tokenizer
{
  /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a set of characters as helpers in VB.</summary>
  public static class VBHelpers
  {
    /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether a specified character is enclosed in a single quotation mark (').</summary>
    /// <returns>true if the character is enclosed in a single quotation mark ('); otherwise, false.</returns>
    /// <param name="character">The character.</param>
    public static bool IsSingleQuote(char character) => character == '\'' || character == '‘' || character == '’';

    /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether a specified character is enclosed in double quotation marks (").</summary>
    /// <returns>true if the character is enclosed in double quotation marks ("); otherwise, false.</returns>
    /// <param name="character">The character.</param>
    public static bool IsDoubleQuote(char character) => character == '"' || character == '“' || character == '”';

    /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether a character is in octal digit.</summary>
    /// <returns>true if a character is in octal digit; otherwise, false.</returns>
    /// <param name="character">The character.</param>
    public static bool IsOctalDigit(char character) => character >= '0' && character <= '7';
  }
}
